import request from "@/utils/request";

//用户列表
export function list(query) {
    return request({
        url: '/admin/user/user/list',
        method: 'post',
        data: query
    })
}

//添加用户
export function add(query) {
    return request({
        url: '/admin/user/user/add',
        method: 'post',
        data: query
    })
}